/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "指令记录",TableName = "commandlog")]
    public partial class commandlog:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="主键")]
       [MaxLength(36)]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid id { get; set; }

       /// <summary>
       ///设备编号
       /// </summary>
       [Display(Name ="设备编号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string deviceNo { get; set; }

       /// <summary>
       ///指令标志
       /// </summary>
       [Display(Name ="指令标志")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? flag { get; set; }

       /// <summary>
       ///控制字节
       /// </summary>
       [Display(Name ="控制字节")]
       [MaxLength(10)]
       [Column(TypeName="nvarchar(10)")]
       [Editable(true)]
       public string controlStr { get; set; }

       /// <summary>
       ///上传指令
       /// </summary>
       [Display(Name ="上传指令")]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string commandStr { get; set; }

       /// <summary>
       ///添加时间
       /// </summary>
       [Display(Name ="添加时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? createTime { get; set; }

       /// <summary>
       ///设备所属用户
       /// </summary>
       [Display(Name ="设备所属用户")]
       [Column(TypeName="int")]
       public int? CreateID { get; set; }

       
    }
}